package com.baizhi.innerclassx2;

public class PersonDemo {
    public static void main(String[] args) {
        //创建外部类对象
        Person p = new Person();

        //创建内部类对象
        Person.Heart ph = new Person().new Heart();
    }
}
